package com.cyt.base.util;


/**
 *@Author: YuShengQiang
 *@Date: 2018-11-16 17:21
 *@Description: 字典码
 */
public final class DictCode {
    //状态标识：1、正常，2、禁用
    public static final String BASE_STATUS = "base_status";
    public static final String BASE_STATUS_NORMAL="1";
    public static final String BASE_STATUS_DISABLE="2";

    //删除标识：1、正常，2、已删除
    public static final String BASE_REMOVE_TAG = "base_remove_tag";
    public static final String BASE_REMOVE_TAG_NORMAL="1";
    public static final String BASE_REMOVE_TAG_DELETE="2";

    //菜单类型：1、目录，2、菜单，3、按钮,4、目录和菜单（用于语句查询）
    public static final String MENU_TYPE = "menu_type";
    public static final String MENU_TYPE_CATALOG="1";
    public static final String MENU_TYPE_MENU="2";
    public static final String MENU_TYPE_BTN="3";
    public static final String MENU_TYPE_CATALOG_MENU="4";

    //菜单级别：1、一级，2、二级，3、三级
    public static final String MENU_GRADE = "menu_grade";
    public static final int MENU_GRADE_ONE=1;
    public static final int MENU_GRADE_TWO=2;
    public static final int MENU_GRADE_THREE=3;

    //日志操作类别：1、后台用户，2、手机端用户,3、其它
    public static final String OPERATOR_TYPE = "operator_type";
    public static final String OPERATOR_TYPE_PC="1";
    public static final String OPERATOR_TYPE_PHONE="2";
    public static final String OPERATOR_TYPE_OTHER="3";

    //操作状态：1、操作成功，2、操作失败
    public static final String OPERATOR_STATUS = "operator_status";
    public static final String OPERATOR_STATUS_SUCCESS="1";
    public static final String OPERATOR_STATUS_FAIL="2";

    //业务操作类型：1、新增，2、修改，3、删除，4、查询，5、授权，6、导出，7、导入，8、强退，9、生成代码，10、清空，11，其它
    public static final String BUSINESS_TYPE = "business_type";
    public static final String BUSINESS_TYPE_INSERT="1";
    public static final String BUSINESS_TYPE_UPDATE="2";
    public static final String BUSINESS_TYPE_DELETE="3";
    public static final String BUSINESS_TYPE_GET="4";
    public static final String BUSINESS_TYPE_GRANT="5";
    public static final String BUSINESS_TYPE_EXPORT="6";
    public static final String BUSINESS_TYPE_IMPORT="7";
    public static final String BUSINESS_TYPE_FORCE="8";
    public static final String BUSINESS_TYPE_GENCODE="9";
    public static final String BUSINESS_TYPE_CLEAN="10";
    public static final String BUSINESS_TYPE_OTHER="11";

    //附件存储方式 1、本地存储，2、网盘存储
    public static final String STORAGE_TYPE = "storage_type";
    public static final String STORAGE_TYPE_LOCALHOST="1";
    public static final String STORAGE_TYPE_WEB="2";

    //数据权限类型 1、目录，2、规则
    public static final String RULE_TYPE = "rule_type";
    public static final String RULE_TYPE_DIC="1";
    public static final String RULE_TYPE_RULE="2";

    //字典码级别:1、系统级别，2、业务级别
    public static final String DICT_GRADE = "dict_grade";
    public static final String DICT_GRADE_XTJB="1";
    public static final String DICT_GRADE_YWJB="2";

    //用户类型：1、内部人员，2、使用用户
    public static final String SYS_USER_TYPE = "sys_user_type";
    public static final String SYS_USER_TYPE_LBRY="1";
    public static final String SYS_USER_TYPE_SYYH="2";

    //应用状态:1、默认类应用，2、购买类应用
    public static final String WEB_APPLY_USE_STATUS = "wx_apply_use_status";
    public static final String WEB_APPLY_USE_STATUS_MRYY="1";
    public static final String WEB_APPLY_USE_STATUS_GMYY="2";


    //短信分类： 1平台 2应用
    public static final String SYS_SMS_PLATFORM="1";
    public static final String SYS_SMS_APPLY="2";

}
